/*  header-comment
/*  file   : stepOne
/*  author : arida
/*  date   : 2017-6-4 18:26:35
/*  last   : 2017-7-5 18:40:50
*/
import { handleActions } from "redux-actions";

// 定义reducer
const reducer = handleActions(
  {
    STEP_ONE_GET_FILES: (state, action) => ({
      ...state,
      files: action.payload
    }),
    STEP_ONE_GET_USER: (state, action) => ({ ...state, ...action.payload })
  },
  {}
);
export default reducer;
